We execute pdflatex [current-file]
after we saved the current .tex
file in Vim:
autocmd BufWritePost *.tex silent! execute "!pdflatex % >/dev/null 2>&1" | redraw!
Notice that it outputs files to the current working directory.
We execute pdflatex [current-file]
after we saved the current .tex
file in Vim:
autocmd BufWritePost *.tex silent! execute "!pdflatex % >/dev/null 2>&1" | redraw!
Notice that it outputs files to the current working directory.